import api from './api'

class Location extends api {
  getLevel (level) {
    return this.request({
      url: `${this.servicePath}/${this.modulePath}/level/${level}`,
      method: 'get'
    })
  };

  getBuildingInfo (id) {
    return this.getById(id)
  }
}

export default new Location('place')
